<?php

namespace common\models\recharge;

use common\models\BaseModel;

/**
 * Desc 充值MODEL
 */
class RechargeOrderModel extends BaseModel
{

    //订单状态
    public static $state = [
        '1' => '待支付',
        '2' => '已支付',
        '3' => '已取消',
        '4' => '待退款',
        '5' => '退款成功',
        '6' => '拒绝退款',
    ];
    
    //订单超时关闭时间
    const TIMEOUT = 30 * 60;
    
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%recharge_order}}';
    }
}
